canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

body {
    font-family: Helvetica neue, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Verhindert Scrollen auf Touch-Geräten */
@media (hover: none) and (pointer: coarse) {
    body {
        overflow: hidden;
        height: 100vh;
    }
}

.styled-button {
    background-color: transparent;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.styled-link {
    text-decoration: none;
}

.styled-button:hover {
    text-decoration: underline;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 5px;
    flex-wrap: wrap;
}

/* Bei schmalen Bildschirmen und Tablets Menü ausblenden */
@media (max-width: 1024px) {
    .button-container {
        display: none;
    }
    
    .search-container {
        margin-top: 50vh;
        transform: translateY(-50%);
    }
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

/* Container für Suchleiste und Interaktionselemente */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    margin-top: 50vh;
    gap: 10px;
}

/* Die Suchleiste */
#search-input {
    width: 150px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: transparent;
    color: black;
    pointer-events: none;
}

/* Rad-Symbol für Touch-Geräte */
.wheel-control {
    display: none;
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent; /* Entfernt graues Viereck auf iOS */
    user-select: none;
}

.wheel-control:active {
    transform: scale(0.95); /* Leichter Skaliereffekt beim Drücken */
}

.wheel-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid black;
    border-radius: 50%;
    background-color: transparent;
    transition: transform 0.2s ease;
}

.wheel-control:active .wheel-outer {
    transform: scale(0.95);
}

.wheel-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid black;
    border-radius: 50%;
    background-color: black; /* Schwarz statt Weiß */
    transition: transform 0.2s ease;
}

.wheel-control:active .wheel-inner {
    transform: translate(-50%, -50%) scale(0.9);
}

.wheel-spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: black;
    transform-origin: center;
}

.wheel-spoke:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.wheel-spoke:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
.wheel-spoke:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg); }
.wheel-spoke:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg); }

/* Der Lupe-Container - nur auf Desktop */
#search-icon {
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Der Kreis-Button */
#search-icon .lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid black;
    border-radius: 50%;
    background-color: Black;
}

/* Hover-Effekt für den Kreis */
#search-icon:hover .lens {
    background-color: transparent;
}

/* Auf Touch-Geräten: Rad anzeigen, Lupe verstecken */
@media (hover: none) and (pointer: coarse) {
    .wheel-control {
        display: block;
    }
    
    #search-icon {
        display: none;
    }
}

/* Alternative: auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .wheel-control {
        display: block;
    }
    
    #search-icon {
        display: none;
    }
}

header {
    color: black;
    padding: 1em 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 1em;
}

quote {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: italic;
    color: black;
    text-align: center;
    padding: 1em 2em;
    display: block;
    margin-top: auto;
    margin-bottom: 2em;
}

footer {
    color: black;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}

/* Responsive Anpassungen für Quote und Footer */
@media (max-width: 1024px) {
    quote {
        font-size: 14px;
        padding: 1em;
    }
    
    footer {
        font-size: 14px;
    }
}